package com.piano.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.piano.common.base.BaseEntity;
import java.util.Date;

/**
 * 到访学生表 t_visit
 * 
 * @author pinao
 * @date 2019-02-26
 */
public class TVisit extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 到访学生id */
	private Integer id;
	/** 姓名 */
	private String name;
	/** 电话 */
	private String teleNumber;
	/** 意向课程 */
	private String interestClass;
	/** 招生来源 */
	private String source;
	/** 接待人 */
	private String person;
	/** 到访时间 */
	private Date visitTime;
	/** 是否到访 */
	private String isVisit;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setTeleNumber(String teleNumber) 
	{
		this.teleNumber = teleNumber;
	}

	public String getTeleNumber() 
	{
		return teleNumber;
	}
	public void setInterestClass(String interestClass) 
	{
		this.interestClass = interestClass;
	}

	public String getInterestClass() 
	{
		return interestClass;
	}
	public void setSource(String source) 
	{
		this.source = source;
	}

	public String getSource() 
	{
		return source;
	}
	public void setPerson(String person) 
	{
		this.person = person;
	}

	public String getPerson() 
	{
		return person;
	}
	public void setVisitTime(Date visitTime) 
	{
		this.visitTime = visitTime;
	}

	public Date getVisitTime() 
	{
		return visitTime;
	}
	public void setIsVisit(String isVisit) 
	{
		this.isVisit = isVisit;
	}

	public String getIsVisit() 
	{
		return isVisit;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("teleNumber", getTeleNumber())
            .append("interestClass", getInterestClass())
            .append("source", getSource())
            .append("person", getPerson())
            .append("visitTime", getVisitTime())
            .append("isVisit", getIsVisit())
            .toString();
    }
}
